--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--[[



]]--
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

return function(inst)
    if not TheWorld.ismastersim then
        return
    end
    inst:DoTaskInTime(0,function()
        if not inst.components.loramia_data:Get("new_spawn_gift") then
            inst.components.loramia_data:Set("new_spawn_gift",true)

            local item = SpawnPrefab("bluegem")
            item.components.stackable.stacksize = 5
            inst.components.inventory:GiveItem(item)

            item = SpawnPrefab("redgem")
            item.components.stackable.stacksize = 5
            inst.components.inventory:GiveItem(item)
        end
    end)
end